import java.util.Scanner;

public class Test3 {
    public static void main(String[] args) {
        System.out.println("请输入第一个整数:");
        System.out.println("请输入第二个整数:");
        System.out.println("请输入您要进行的运算(0:表示加法运算,1:表示减法运算,2:表示乘法运算,3:表示除法运算):");
        Scanner scanner = new Scanner(System.in);
        int num1 = scanner.nextInt();
        int num2 = scanner.nextInt();
        int num3 = scanner.nextInt();
        if(num3==0) {
            System.out.println(num1 + "+" + num2 + "=" + (num1 + num2));
        }
        if(num3==1) {
            System.out.println(num1 + "-" + num2 + "=" + (num1 - num2));
        }
        if(num3==2) {
            System.out.println(num1 + "*" + num2 + "=" + (num1 * num2));
        }
        if(num3==3){
            System.out.println(num1+"/"+num2+"="+(num1/num2));
        }



    }
}
